package com.gongzonqiang.myenum;

public enum NoticeEnum {
	DEL(-2,"逻辑删除"),
	NOPASS(-1,"不通过"),
	CHECK(0,"审核"),
	RELEASE(1,"发布"),
	
	
	PAYFAIL(1000,"支付失败"),
	PRICEUSEING(1001,"价格正在使用")
	;
	
	/*
	 * code 状态值
	 */
	private Integer code;
	/*
	 * 状态说明
	 */
	private String message;

	public Integer getCode() {
		return code;
	}

	public void setCode(Integer code) {
		this.code = code;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	private NoticeEnum(Integer code, String message) {
		this.code = code;
		this.message = message;
	}

}
